package hu.uszeged.inf.wlab.stunner.database.dtos;

import org.codehaus.jackson.annotate.JsonIgnore;

/**
 * DTO to store wifi information.
 * 
 * @author szelezsant
 */
public class WifiInfoDTO {

	/** The identifier of the record. */
	private long identifier;
	/** The unqiue ssid. */
	private String ssid;
	/** The bandwidth. */
	private String bandwidth;
	/** The mac address of the network interface. */
	private String macAddress;
	/** The received signal strenght index. */
	private int rssi;

	/**
	 * @return the identifier
	 */
	@JsonIgnore
	public long getIdentifier() {
		return identifier;
	}

	/**
	 * @param identifier the identifier to set
	 */
	@JsonIgnore
	public void setIdentifier(final long identifier) {
		this.identifier = identifier;
	}

	/**
	 * @return the ssid
	 */
	public String getSsid() {
		return ssid;
	}

	/**
	 * @param ssid the ssid to set
	 */
	public void setSsid(final String ssid) {
		this.ssid = ssid;
	}

	/**
	 * @return the bandwidth
	 */
	public String getBandwidth() {
		return bandwidth;
	}

	/**
	 * @param bandwidth the bandwidth to set
	 */
	public void setBandwidth(final String bandwidth) {
		this.bandwidth = bandwidth;
	}

	/**
	 * @return the macAddress
	 */
	public String getMacAddress() {
		return macAddress;
	}

	/**
	 * @param macAddress the macAddress to set
	 */
	public void setMacAddress(final String macAddress) {
		this.macAddress = macAddress;
	}

	/**
	 * @return the rssi
	 */
	public int getRssi() {
		return rssi;
	}

	/**
	 * @param rssi the rssi to set
	 */
	public void setRssi(final int rssi) {
		this.rssi = rssi;
	}

	/*
	 * (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "WifiInfoDTO [identifier=" + identifier + ", ssid=" + ssid + ", bandwidth=" + bandwidth + ", macAddress=" + macAddress
				+ ", rssi=" + rssi + "]";
	}
}
